<?php

class ApiController extends Controller {
    
    public function actionInitial() {
        Yii::app()->restApi->processRequest(Constant::API_INITIAL);
    }

	public function actionList() {
		Yii::app()->restApi->processRequest(Constant::API_LIST);
	}
	
	public function actionView() {
		Yii::app()->restApi->processRequest(Constant::API_VIEW);
	}
	
	public function actionSave() {
		Yii::app()->restApi->processRequest(Constant::API_SAVE);
	}
	
	public function actionLogin() {
		Yii::app()->restApi->processRequest(Constant::API_LOGIN);
	}
	
	public function actionLogout() {
	    Yii::app()->restApi->processRequest(Constant::API_LOGOUT);
	}
	
	public function actionTest() {
	    //echo self::getRevision();
	}
}